export const state = () => ({
  deviceDetail: {},
  modalVisable: false,
  alarmDetail: {},
  alarmModalVisable: false,
  controlVisable: false,
  branchSearch: '',
  dashtype: '',
  
  alarmBranchName: '',
  alarmStatus: '',
  alarmDeviceType: '',
  alarmExceptLevel: '',
  alarmDateRange: [],
  alarmBx:false,
  drawerOpen:true,
  airMaskbg:'',
  oddEven:null,
})

export const mutations = {
  setState(state, { name, value }) {
    state[name] = value
  }
}
